Skip to content

Conversation

@odersky
Copy link
Contributor

@odersky odersky commented Jun 12, 2017

If x had implicit function type, the previous algorithm did not
realize that x and x.apply(y) were the same reference. Therefore,
a spurious shadowing error occurred and the implicit search failed.

odersky added 2 commits June 12, 2017 18:43
If `x` had implicit function type, the previous algorithm did not
realize that `x` and `x.apply(y)` were the same reference. Therefore,
a spurious shadowing error occurred and the implicit search failed.
The previously failing test is ho-implicits.scala. Two more tests are for various other aspects of the implicit calculus work.
@odersky odersky requested a review from liufengyun June 12, 2017 16:47
Copy link
Contributor

@liufengyun liufengyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@odersky odersky merged commit 1d56bb1 into scala:master Jun 13, 2017
@allanrenucci allanrenucci deleted the fix-ho-implicits branch December 14, 2017 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants